<!-- BEGIN: center-->
<script language="JavaScript">
	function doDeleteCategory(cate_id){
		if(confirm('Ban co thuc su muon xoa category nay?') == true){
			window.location = '?mod=admin&act=category&del_cate_id='+cate_id;
		}
	}
</script>
<table cellpadding="3" cellspacing="3" width="100%" border="0">
	<tr>
		<td colspan="6" align="center" style="font-size: 1.6em;">Category</td>
	</tr>
	<tr>
		<td colspan="6" align="right"><a href="?mod=admin&act=category-task">Add New</a></td>
	</tr>
	<tr>
		<td>No</td>
		<td>Category Name</td>
		<td>Movies Count</td>
		<td>Status</td>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
	</tr>
	<!-- BEGIN: list_admin_cate-->
	<tr>
		<td>{list_admin_cate.iCountAdminCategory}</td>
		<td>{list_admin_cate.cate_name}</td>
		<td>{list_admin_cate.movie_count}</td>
		<td>{list_admin_cate.cate_status}</td>
		<td><a href="{list_admin_cate.cate_edit_link}">Edit</a></td>
		<td><a href="#" onclick="doDeleteCategory({list_admin_cate.cate_id});">Delete</a></td>
	</tr>
	<!-- END: list_admin_cate-->
</table>
<!-- END: center-->